package com.bridge.bridgeproject;

import com.bridge.common.base.BaseActivity;
import com.bridge.common.route.RouteUtils;

/**
 * 启动页
 */
public class LauncherActivity extends BaseActivity {

    @Override
    protected int layoutId() {
        return R.layout.activity_launcher;
    }

    @Override
    protected void initView() {
        switch (BuildConfig.LAUNCHER) {
            case "app":
                //跳转到引导页
                RouteUtils.turnToGuideActivity();
                finishThis();
                break;
            default:
                break;
        }
    }

    @Override
    protected void setListenner() {

    }

    private void finishThis() {
        finish();
    }
}
